package com.qdxwx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.elasticsearch.ElasticsearchClientAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.transaction.annotation.EnableTransactionManagement;
/**
 * 启动程序
 * Qdx NetSchool Platform
 * @author qdxwx
 * @updateTime 2022/5/25
 * @description
 */
@SpringBootApplication(exclude = { MongoAutoConfiguration.class })
@MapperScan(basePackages = {"com.qdxwx.*.mapper"})
//启用事务
@EnableTransactionManagement
public class ManageApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(ManageApplication.class, args);
        System.out.println("启动成功!");
    }
}